#include "sys.h"

System sys;

#ifdef WINDOWS_DEV



System::System(/* args */)
{
}

System::~System()
{
}

bool System::thread_create(void (*func)(void*), const char* name, uint8_t stack_depth, void* arg, uint32_t priority, System::thread_id_t* thread_id)
{


  pthread_create((pthread_t*) thread_id, NULL, (thread_func_t) func, arg);
}


void System::delay(uint32_t ms)
{
  Sleep(ms);
}






#endif // WINDOWS_DEV